<template>
  <div class="box">
    <van-swipe class="my-swipe" indicator-color="blue" :autoplay="2000">
      <van-swipe-item>
        <img src="../../assets/img/11.jpg" alt="" />
      </van-swipe-item>
      <van-swipe-item>
        <img src="../../assets/img/22.jpg" alt="" />
      </van-swipe-item>
    </van-swipe>
  </div>
</template>

<script>
export default {
  name: "",
  data() {
    return {};
  },
};
</script>
<style scoped>
.my-swipe .van-swipe-item {
  color: #fff;
  font-size: 20px;
  height: 200px;
  line-height: 150px;
  text-align: center;
}
.box {
  width: 345px;
  margin: auto;
}
img {
  height: 85%;
}
.van-swipe >>> .van-swipe__indicators .van-swipe__indicator {
  width: 10px;
  height: 1px;
  margin-right: 0;
}
</style>